<template>
  <div>
    <header style="text-align: center; padding: 10px">
      <span @click="goback()" style="float: left"
        ><van-icon name="revoke"
      /></span>
    </header>
  </div>
</template>

<script>
export default {
  name: "Goback",
  methods: {
    goback() {
      this.$router.go(-1);
    },
  },
};
</script>

<style scoped lang="less">
header {
  background-color: #409eff;
  width: 100%;
  height: 25px;
  position: fixed;
  z-index: 111;
}
header i {
  font-size: 24px;
}
</style>